<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template name="monthName">
 <xsl:param name="month"/>
 <xsl:choose>
   <xsl:when test="$month=1">Gennaio</xsl:when>
   <xsl:when test="$month=2">Febbraio</xsl:when>
   <xsl:when test="$month=3">Marzo</xsl:when>
   <xsl:when test="$month=4">Aprile</xsl:when>
   <xsl:when test="$month=5">Maggio</xsl:when>
   <xsl:when test="$month=6">Giugno</xsl:when>
   <xsl:when test="$month=7">Luglio</xsl:when>
   <xsl:when test="$month=8">Agosto</xsl:when>
   <xsl:when test="$month=9">Settembre</xsl:when>
   <xsl:when test="$month=10">Ottobre</xsl:when>
   <xsl:when test="$month=11">Novembre</xsl:when>
   <xsl:when test="$month=12">Dicembre</xsl:when>
   <xsl:otherwise>
     <xsl:value-of select="$month"/>
   </xsl:otherwise>
 </xsl:choose>
</xsl:template>

<xsl:template match="activities">
		<table class="body" border="0" cellspacing="0" cellpadding="0" width="100%">
		<tr><td class="CDBhead" width="1%">&#160;</td>
			<td class="CDBhead"><b><xsl:value-of select="@place"/></b> (<a href="activitiesCities.aspx">Cambia citta'</a>)</td>
			<xsl:choose>
				<xsl:when test="@week=1 or (@future=-1)">
					<xsl:for-each select="wday">
						<td class="CDBhead" style="font-size:10px;" align="center">
							<xsl:value-of select="@shortname"/><br/>
							<xsl:value-of select="@dayOfMonth"/>
						</td>
					</xsl:for-each>
				</xsl:when>
				<xsl:when test="@future=1">
					<td colspan="5" class="body_10px" align="center">Quando
						</td>
					<td colspan="2" class="body_10px" align="center">
						Quanti
					</td>
				</xsl:when>
			</xsl:choose>
			<td class="CDBhead" width="1px">&#160;</td>
		</tr>
				<xsl:for-each select="week">
				<tr>
					<td class="CDB"></td>
			<xsl:choose>
		<xsl:when test="(floor( @status div 2 ) mod 2 )">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/banner/{@banner}"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2838">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/pizzaderby.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2962">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/desade.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2441 or @activityId=2489">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/hinn.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2442">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/hinnA.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2443 or @activityId=2381 or @activityId=2636">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/hinnW.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2391">
		<td class="CDBf10" align="left" height="65px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/pizza2.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2617">
		<td class="CDBf10" align="left" height="90px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/ism.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1868">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/firenze_cp.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2546 or @activityId=2369">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/pizza.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2235">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/swim.jpg"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2938">
		<td class="CDBf10" align="left" height="70px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/fidelio.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2627">
		<td class="CDBf10" align="left" height="24px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/ddmj.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2377">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/puntae.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2046">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/torte.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1707">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/sushi.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2540">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/horafeliz2.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1970">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/metamorfosi.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1474">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/singleparty.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2945">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/WTdegustazione.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2032">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/travelmateF.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2665">
		<td class="CDBf10" align="left" height="63px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/maison.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1560">
		<td class="CDBf10" align="left" valign="middle" height="30">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/degbanco.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2944">
		<td class="CDBf10" align="left" valign="middle" height="75">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/casablancaDJ.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=894">
		<td class="CDBf10" align="left" valign="middle" height="22px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/casablancaLMG.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=528">
		<td class="CDBf10" align="left" valign="middle" height="30">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/borgoT.jpg"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1128">
		<td class="CDBf10" align="left" height="50px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/libri.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1227">
		<td class="CDBf10" align="left" height="40px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/teatro.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1929">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/hollywoodG.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1056">
		<td class="CDBf10" align="left" valign="middle" height="30">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/foyer.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1571">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/degustazione.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1722">
		<td class="CDBf10" align="left" height="44px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/speedbanner2535.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1740">
		<td class="CDBf10" align="left" height="44px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/speedbanner2535II.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1725">
		<td class="CDBf10" align="left" height="44px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/speedbanner3545.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1751">
		<td class="CDBf10" align="left" height="44px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/speedbanner3545II.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2551">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/puntav.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=890">
		<td class="CDBf10" align="left" height="60px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/magazzinilast.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=18">
		<td class="CDBf10" align="left" height="24px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/horafelizape.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1563">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/oldfashion.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2951">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/tagliando.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=992">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/colony.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1264">
		<td class="CDBf10" align="left" height="35px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/liveforum.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1688">
		<td class="CDBf10" align="left" height="40px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/degustazione.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1361">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/soul2soul.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1390">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<b><a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/bellezza.gif"/></a></b>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=521">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<b><a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/pallone.gif"/></a></b>
		</td>
		</xsl:when>
		<xsl:when test="@bold=1">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<b><a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><xsl:value-of select="@title"/></a></b>
		</td>
		</xsl:when>
				<xsl:otherwise>
				<td class="CDBf10" align="left">
					<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><xsl:value-of select="@title"/></a>
				</td>
				</xsl:otherwise>
			</xsl:choose>
					<xsl:variable name="activityId"><xsl:value-of select="@activityId"/></xsl:variable>
					<xsl:for-each select="/activities/wday">
					<xsl:variable name="dayOfYear"><xsl:value-of select="@dayOfYear"/></xsl:variable>
					<xsl:variable name="hits">
						<xsl:value-of select="/activities/weekDays[@day=$dayOfYear and @activityId=$activityId]/@hit"/>
						<xsl:for-each select="/activities/weekDays">
							<xsl:choose>
								<xsl:when test="@day=wday/@dayOfYear">
								<xsl:value-of select="@hit"/>
								</xsl:when>
								<xsl:otherwise>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
					</xsl:variable>
					<td class="CDBf10c" align="center">
						<xsl:choose>
							<xsl:when test="$hits &gt; 0">
								<xsl:value-of select="$hits"/>
							</xsl:when>
							<xsl:otherwise>
								&#160;
							</xsl:otherwise>
						</xsl:choose>
					</td>
					</xsl:for-each>
					<td class="CDB"></td>
				</tr>
				</xsl:for-each>

				<xsl:for-each select="future">
				<tr>
					<td class="CDB"></td>
			<xsl:choose>
		<xsl:when test="(floor( @status div 2 ) mod 2 )">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/banner/{@banner}"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1134">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/compleannob.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1868">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/firenze_cp.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2665">
		<td class="CDBf10" align="left" height="63px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/maison.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2838">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/pizzaderby.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2962">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/desade.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2546 or @activityId=2369">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/pizza.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2439 or @activityId=2440 or @activityId=2469">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/puntae.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2235">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/swim.jpg"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2938">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/fidelio.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2377">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/puntae.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2551">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/puntav.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1688">
		<td class="CDBf10" align="left" height="40px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/degustazione.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2441 or @activityId=2489">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/hinn.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2442">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/hinnA.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2443 or @activityId=2381 or @activityId=2636">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/hinnW.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1056">
		<td class="CDBf10" align="left" valign="middle" height="30">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/foyer.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=18">
		<td class="CDBf10" align="left" height="24px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/horafelizape.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1902">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/realvsjuve.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1970">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/metamorfosi.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1691">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/texmex.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1929">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/hollywoodG.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2032">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/travelmateF.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1560">
		<td class="CDBf10" align="left" valign="middle" height="30">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/degbanco.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2951">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/tagliando.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1722">
		<td class="CDBf10" align="left" height="44px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/speedbanner2535.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1740">
		<td class="CDBf10" align="left" height="44px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/speedbanner2535II.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1725">
		<td class="CDBf10" align="left" height="44px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/speedbanner3545.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1751">
		<td class="CDBf10" align="left" height="44px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/speedbanner3545II.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1563">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/oldfashion.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1551">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/theparty.jpg"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2944">
		<td class="CDBf10" align="left" valign="middle" height="75">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/casablancaDJ.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=894">
		<td class="CDBf10" align="left" valign="middle" height="22px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/casablancaLMG.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=890">
		<td class="CDBf10" align="left" height="40px">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/magazzinilast.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=992">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/colony.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1390">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<b><a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/bellezza.gif"/></a></b>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=528">
		<td class="CDBf10" align="left" valign="middle" height="30">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/borgoT.jpg"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1264">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/liveforum.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=2945">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/WTdegustazione.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1361">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/soul2soul.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@activityId=1571">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><img border="0" src="/imgs/locs/degustazione.gif"/></a>
		</td>
		</xsl:when>
		<xsl:when test="@bold=1">
		<td class="CDBf10" align="left" height="22px" valign="middle">
			<b><a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><xsl:value-of select="@title"/></a></b>
		</td>
		</xsl:when>
			<xsl:otherwise>
			<td class="CDBf10" align="left">
				<a href="/activities/activityShow.aspx?activityId={@activityId}" class="body_10px_red"><xsl:value-of select="@title"/></a>
			</td>
			</xsl:otherwise>
			</xsl:choose>
					<td class="CDBf10c" colspan="5" align="center">
						<font class="body_10px"><xsl:value-of select="@dd"/>&#160;
						<xsl:call-template name="monthName">
						<xsl:with-param name="month" select="@mm"/>
						</xsl:call-template>&#160;
						<xsl:value-of select="@aaaa"/></font>
						</td>
					<td class="CDBf9c" colspan="2" align="center">
						<xsl:value-of select="@howMany"/>
					</td>
				</tr>
				</xsl:for-each>
				<tr><td align="center" colspan="10">Clicka sul nome dell'attivita' per saperne di piu' e parteciparvi!</td>
				</tr>
			</table>

</xsl:template>

</xsl:stylesheet>